home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / acehtml / acehtmlfreeware.exe / scriptdef / Exit Window.sd < prev    next >
INI File  |  2006-09-13  |  513b  |  40 lines

  1. [SUBJECT]
  2. Description=Open a new window when a visitor leaves your page
  3. ImageIndex=-1
  4. Folder=Tools
  5.  
  6.  
  7. [HEAD_TEXT]
  8. ;
  9. ;<script language="JavaScript">
  10. ;<!-- Begin
  11. ;function leave() {
  12. ;window.open('`url`','','toolbar=no,menubar=no,location=no,height=`height`,width=`width`');
  13. ;}
  14. ;// End -->
  15. ;</script>
  16. ;
  17.  
  18.  
  19. [BODY_TAG]
  20. ;onUnload="leave()"
  21.  
  22.  
  23. [BODY_TEXT]
  24. ;
  25.  
  26.  
  27. [`url`]
  28. Kind=U
  29. Value=http://www.yourserver.com/page-to-open.html
  30.  
  31. [`height`]
  32. Kind=N
  33. Value=500
  34.  
  35. [`width`]
  36. Kind=N
  37. Value=500
  38.  
  39.  
  40.